package com.mall.module.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "登录日志视图对象")
public class LoginLogVO {

    @ApiModelProperty(value = "日志ID")
    private Long logId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "登录方式(PASSWORD/SMS/WECHAT)")
    private String loginType;

    @ApiModelProperty(value = "设备ID")
    private String deviceId;

    @ApiModelProperty(value = "操作系统")
    private String osType;

    @ApiModelProperty(value = "IP地址")
    private String ipAddress;

    @ApiModelProperty(value = "IP归属地")
    private String location;

    @ApiModelProperty(value = "登录时间")
    private String loginTime;

    @ApiModelProperty(value = "登录结果(0:失败 1:成功)")
    private Boolean result;
} 